home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / mac / Sample Code / QuickTime / QuickTimeIntro / MakeEffectMovie / Clippings / CreateInputMap.clp < prev    next >
MacBinary  |  2000-10-06  |  2.4 KB  |  [clpt/drag]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert TRS-80 CLP File (image/trs80Clp) ext Supported
66% dexvert PC Paint Image (image/pcPaint) ext Supported
66% dexvert Windows Clipboard (image/windowsClipboard) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Quattro Pro Clip Art (image/quattroProClipArt) ext Unsupported
1% dexvert Home Plan Pro 5 Clip (other/homePlanPro5Clip) ext Unsupported
100% file MacBinary II, inited, Wed Apr 19 06:41:26 2000, modified Fri Oct 6 15:36:48 2000, creator 'drag', type 'clpt' "CreateInputMap.clp", at 0x80 2292 bytes resource Apple HFS/HFS+ resource fork, map offset 0x8ae, map length 0x46, data length 0x7ae, at 16 0x6974696f, nextResourceMap 0x7ac6030, fileRef 0x2e46, list offset 0x1c, name offset 0x46, 2 types, 0x54455854 'TEXT' * 1 resource offset 0x12 default (weak)
99% file data default
74% TrID Mac Text clippings (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[clpt]
macFileCreator[drag]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 12 43 72 65 61 74 65 | 49 6e 70 75 74 4d 61 70 |..Create|InputMap|
|00000010| 2e 63 6c 70 00 00 00 00 | 00 00 00 00 00 00 00 00 |.clp....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 63 6c 70 74 64 72 61 | 67 01 00 00 00 00 00 00 |.clptdra|g.......|
|00000050| 00 00 00 00 00 00 00 00 | 00 08 f4 b5 23 3d d6 b6 |........|....#=..|
|00000060| 03 da 50 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..P.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 50 90 00 00 |........|....P...|
|00000080| 00 00 01 00 00 00 08 ae | 00 00 07 ae 00 00 00 46 |........|.......F|
|00000090| 69 74 69 6f 6e 61 6c 20 | 43 68 69 6e 65 73 65 12 |itional |Chinese.|
|000000a0| 53 69 6d 70 6c 69 66 69 | 65 64 20 43 68 69 6e 65 |Simplifi|ed Chine|
|000000b0| 73 65 06 4b 6f 72 65 61 | 6e 08 43 79 72 69 6c 6c |se.Korea|n.Cyrill|
|000000c0| 69 63 0a 44 65 76 61 6e | 61 67 61 72 69 08 47 75 |ic.Devan|agari.Gu|
|000000d0| 72 6d 75 6b 68 69 08 47 | 75 6a 61 72 61 74 69 07 |rmukhi.G|ujarati.|
|000000e0| 4d 52 4a 4c 44 45 46 11 | 6a 47 4e 45 46 69 6c 74 |MRJLDEF.|jGNEFilt|
|000000f0| 65 72 46 6f 72 4d 53 49 | 45 0a 41 75 74 68 46 61 |erForMSI|E.AuthFa|
|00000100| 69 6c 65 64 05 50 72 6f | 70 73 08 43 65 72 62 65 |iled.Pro|ps.Cerbe|
|00000110| 72 75 73 08 43 65 72 62 | 65 72 75 73 0a 41 75 74 |rus.Cerb|erus.Aut|
|00000120| 68 46 61 69 6c 65 64 0a | 50 72 6f 70 65 72 74 69 |hFailed.|Properti|
|00000130| 65 73 24 4e 61 6d 65 20 | 6f 66 20 63 6c 61 73 73 |es$Name |of class|
|00000140| 65 73 20 2d 20 72 65 6c | 61 74 69 76 65 20 74 6f |es - rel|ative to|
|00000150| 20 4d 52 4a 4c 69 62 32 | 4e 61 6d 65 20 6f 66 20 | MRJLib2|Name of |
|00000160| 69 6e 73 74 61 6c 6c 20 | 66 6f 6c 64 65 72 20 69 |install |folder i|
|00000170| 66 20 77 65 20 63 61 6e | 27 74 20 66 69 6e 64 20 |f we can|'t find |
|00000180| 00 00 07 86 09 2f 2f 20 | 63 72 65 61 74 65 20 61 |.....// |create a|
|00000190| 6e 64 20 61 64 64 20 74 | 68 65 20 69 6e 70 75 74 |nd add t|he input|
|000001a0| 20 6d 61 70 20 2d 20 74 | 68 69 73 20 74 65 6c 6c | map - t|his tell|
|000001b0| 73 20 74 68 65 20 65 66 | 66 65 63 74 0d 09 2f 2f |s the ef|fect..//|
|000001c0| 20 77 68 69 63 68 20 74 | 72 61 63 6b 73 20 69 6e | which t|racks in|
|000001d0| 20 74 68 65 20 6d 6f 76 | 69 65 20 61 72 65 20 61 | the mov|ie are a|
|000001e0| 66 66 65 63 74 65 64 0d | 09 0d 09 09 6c 6f 6e 67 |ffected.|....long|
|000001f0| 09 09 09 09 6d 79 52 65 | 66 49 6e 64 65 78 31 2c |....myRe|fIndex1,|
|00000200| 20 6d 79 52 65 66 49 6e | 64 65 78 32 3b 0d 09 09 | myRefIn|dex2;...|
|00000210| 51 54 41 74 6f 6d 43 6f | 6e 74 61 69 6e 65 72 09 |QTAtomCo|ntainer.|
|00000220| 09 6d 79 49 6e 70 75 74 | 4d 61 70 3b 0d 09 09 51 |.myInput|Map;...Q|
|00000230| 54 41 74 6f 6d 09 09 09 | 09 6d 79 49 6e 70 75 74 |TAtom...|.myInput|
|00000240| 41 74 6f 6d 3b 0d 09 09 | 4f 53 54 79 70 65 09 09 |Atom;...|OSType..|
|00000250| 09 09 6d 79 49 6e 70 75 | 74 54 79 70 65 3b 0d 09 |..myInpu|tType;..|
|00000260| 09 6c 6f 6e 67 09 09 09 | 09 6d 79 4c 6f 6e 67 3b |.long...|.myLong;|
|00000270| 0d 0d 09 09 51 54 4e 65 | 77 41 74 6f 6d 43 6f 6e |....QTNe|wAtomCon|
|00000280| 74 61 69 6e 65 72 28 26 | 6d 79 49 6e 70 75 74 4d |tainer(&|myInputM|
|00000290| 61 70 29 3b 0d 0d 09 09 | 2f 2f 20 66 69 72 73 74 |ap);....|// first|
|000002a0| 20 69 6e 70 75 74 0d 09 | 09 69 66 20 28 76 69 64 | input..|.if (vid|
|000002b0| 65 6f 54 72 61 63 6b 73 | 5b 30 5d 29 20 7b 0d 09 |eoTracks|[0]) {..|
|000002c0| 09 0d 09 09 09 2f 2f 20 | 73 65 74 75 70 20 61 20 |.....// |setup a |
|000002d0| 72 65 66 65 72 65 6e 63 | 65 20 62 65 74 77 65 65 |referenc|e betwee|
|000002e0| 6e 20 6f 75 72 20 65 66 | 66 65 63 74 20 61 6e 64 |n our ef|fect and|
|000002f0| 20 74 68 65 20 66 69 72 | 73 74 20 69 6e 70 75 74 | the fir|st input|
|00000300| 20 74 72 61 63 6b 0d 09 | 09 09 41 64 64 54 72 61 | track..|..AddTra|
|00000310| 63 6b 52 65 66 65 72 65 | 6e 63 65 28 76 69 64 65 |ckRefere|nce(vide|
|00000320| 6f 54 72 61 63 6b 46 58 | 2c 20 76 69 64 65 6f 54 |oTrackFX|, videoT|
|00000330| 72 61 63 6b 73 5b 30 5d | 2c 20 6b 54 72 61 63 6b |racks[0]|, kTrack|
|00000340| 4d 6f 64 69 66 69 65 72 | 52 65 66 65 72 65 6e 63 |Modifier|Referenc|
|00000350| 65 2c 20 26 6d 79 52 65 | 66 49 6e 64 65 78 31 29 |e, &myRe|fIndex1)|
|00000360| 3b 0d 09 09 09 51 54 49 | 6e 73 65 72 74 43 68 69 |;....QTI|nsertChi|
|00000370| 6c 64 28 6d 79 49 6e 70 | 75 74 4d 61 70 2c 20 6b |ld(myInp|utMap, k|
|00000380| 50 61 72 65 6e 74 41 74 | 6f 6d 49 73 43 6f 6e 74 |ParentAt|omIsCont|
|00000390| 61 69 6e 65 72 2c 20 6b | 54 72 61 63 6b 4d 6f 64 |ainer, k|TrackMod|
|000003a0| 69 66 69 65 72 49 6e 70 | 75 74 2c 20 6d 79 52 65 |ifierInp|ut, myRe|
|000003b0| 66 49 6e 64 65 78 31 2c | 20 30 2c 20 30 2c 20 4e |fIndex1,| 0, 0, N|
|000003c0| 55 4c 4c 2c 20 26 6d 79 | 49 6e 70 75 74 41 74 6f |ULL, &my|InputAto|
|000003d0| 6d 29 3b 0d 09 0d 09 09 | 09 2f 2f 20 61 64 64 20 |m);.....|.// add |
|000003e0| 6d 6f 64 69 66 69 65 72 | 20 74 72 61 63 6b 20 74 |modifier| track t|
|000003f0| 79 70 65 20 28 27 76 69 | 64 65 27 29 0d 09 09 09 |ype ('vi|de')....|
|00000400| 6d 79 49 6e 70 75 74 54 | 79 70 65 20 3d 20 45 6e |myInputT|ype = En|
|00000410| 64 69 61 6e 55 33 32 5f | 4e 74 6f 42 28 6b 54 72 |dianU32_|NtoB(kTr|
|00000420| 61 63 6b 4d 6f 64 69 66 | 69 65 72 54 79 70 65 49 |ackModif|ierTypeI|
|00000430| 6d 61 67 65 29 3b 0d 09 | 09 09 51 54 49 6e 73 65 |mage);..|..QTInse|
|00000440| 72 74 43 68 69 6c 64 28 | 6d 79 49 6e 70 75 74 4d |rtChild(|myInputM|
|00000450| 61 70 2c 20 6d 79 49 6e | 70 75 74 41 74 6f 6d 2c |ap, myIn|putAtom,|
|00000460| 20 6b 54 72 61 63 6b 4d | 6f 64 69 66 69 65 72 54 | kTrackM|odifierT|
|00000470| 79 70 65 2c 20 31 2c 20 | 30 2c 20 73 69 7a 65 6f |ype, 1, |0, sizeo|
|00000480| 66 28 6d 79 49 6e 70 75 | 74 54 79 70 65 29 2c 20 |f(myInpu|tType), |
|00000490| 26 6d 79 49 6e 70 75 74 | 54 79 70 65 2c 20 4e 55 |&myInput|Type, NU|
|000004a0| 4c 4c 29 3b 0d 09 0d 09 | 09 09 2f 2f 20 73 6f 75 |LL);....|..// sou|
|000004b0| 72 63 65 20 6e 61 6d 65 | 20 66 6f 72 20 66 69 72 |rce name| for fir|
|000004c0| 73 74 20 73 6f 75 72 63 | 65 20 2d 20 74 68 65 72 |st sourc|e - ther|
|000004d0| 65 20 69 73 20 61 20 63 | 6f 72 72 65 73 70 6f 6e |e is a c|orrespon|
|000004e0| 64 69 6e 67 0d 09 09 09 | 2f 2f 20 6b 45 66 66 65 |ding....|// kEffe|
|000004f0| 63 74 53 6f 75 72 63 65 | 4e 61 6d 65 20 61 74 6f |ctSource|Name ato|
|00000500| 6d 20 69 6e 20 74 68 65 | 20 65 66 66 65 63 74 20 |m in the| effect |
|00000510| 64 65 73 63 72 69 70 74 | 69 6f 6e 20 74 6f 20 0d |descript|ion to .|
|00000520| 09 09 09 2f 2f 20 69 64 | 65 6e 74 69 66 79 20 74 |...// id|entify t|
|00000530| 68 65 20 73 6f 75 72 63 | 65 0d 09 09 09 6d 79 4c |he sourc|e....myL|
|00000540| 6f 6e 67 20 3d 20 45 6e | 64 69 61 6e 55 33 32 5f |ong = En|dianU32_|
|00000550| 4e 74 6f 42 28 6b 53 6f | 75 72 63 65 4f 6e 65 4e |NtoB(kSo|urceOneN|
|00000560| 61 6d 65 29 3b 0d 09 09 | 09 51 54 49 6e 73 65 72 |ame);...|.QTInser|
|00000570| 74 43 68 69 6c 64 28 6d | 79 49 6e 70 75 74 4d 61 |tChild(m|yInputMa|
|00000580| 70 2c 20 6d 79 49 6e 70 | 75 74 41 74 6f 6d 2c 20 |p, myInp|utAtom, |
|00000590| 6b 45 66 66 65 63 74 44 | 61 74 61 53 6f 75 72 63 |kEffectD|ataSourc|
|000005a0| 65 54 79 70 65 2c 20 31 | 2c 20 30 2c 20 73 69 7a |eType, 1|, 0, siz|
|000005b0| 65 6f 66 28 6d 79 4c 6f | 6e 67 29 2c 20 26 6d 79 |eof(myLo|ng), &my|
|000005c0| 4c 6f 6e 67 2c 20 4e 55 | 4c 4c 29 3b 0d 09 09 7d |Long, NU|LL);...}|
|000005d0| 0d 0d 09 09 2f 2f 20 73 | 65 63 6f 6e 64 20 69 6e |....// s|econd in|
|000005e0| 70 75 74 0d 09 09 69 66 | 20 28 76 69 64 65 6f 54 |put...if| (videoT|
|000005f0| 72 61 63 6b 73 5b 31 5d | 29 20 7b 0d 0d 09 09 09 |racks[1]|) {.....|
|00000600| 2f 2f 20 73 65 74 75 70 | 20 61 20 72 65 66 65 72 |// setup| a refer|
|00000610| 65 6e 63 65 20 62 65 74 | 77 65 65 6e 20 6f 75 72 |ence bet|ween our|
|00000620| 20 65 66 66 65 63 74 20 | 61 6e 64 20 74 68 65 20 | effect |and the |
|00000630| 73 65 63 6f 6e 64 20 69 | 6e 70 75 74 20 74 72 61 |second i|nput tra|
|00000640| 63 6b 0d 09 09 09 41 64 | 64 54 72 61 63 6b 52 65 |ck....Ad|dTrackRe|
|00000650| 66 65 72 65 6e 63 65 28 | 76 69 64 65 6f 54 72 61 |ference(|videoTra|
|00000660| 63 6b 46 58 2c 20 76 69 | 64 65 6f 54 72 61 63 6b |ckFX, vi|deoTrack|
|00000670| 73 5b 31 5d 2c 20 6b 54 | 72 61 63 6b 4d 6f 64 69 |s[1], kT|rackModi|
|00000680| 66 69 65 72 52 65 66 65 | 72 65 6e 63 65 2c 20 26 |fierRefe|rence, &|
|00000690| 6d 79 52 65 66 49 6e 64 | 65 78 32 29 3b 0d 09 09 |myRefInd|ex2);...|
|000006a0| 09 51 54 49 6e 73 65 72 | 74 43 68 69 6c 64 28 6d |.QTInser|tChild(m|
|000006b0| 79 49 6e 70 75 74 4d 61 | 70 2c 20 6b 50 61 72 65 |yInputMa|p, kPare|
|000006c0| 6e 74 41 74 6f 6d 49 73 | 43 6f 6e 74 61 69 6e 65 |ntAtomIs|Containe|
|000006d0| 72 2c 20 6b 54 72 61 63 | 6b 4d 6f 64 69 66 69 65 |r, kTrac|kModifie|
|000006e0| 72 49 6e 70 75 74 2c 20 | 6d 79 52 65 66 49 6e 64 |rInput, |myRefInd|
|000006f0| 65 78 32 2c 20 30 2c 20 | 30 2c 20 4e 55 4c 4c 2c |ex2, 0, |0, NULL,|
|00000700| 20 26 6d 79 49 6e 70 75 | 74 41 74 6f 6d 29 3b 0d | &myInpu|tAtom);.|
|00000710| 09 0d 09 09 09 2f 2f 20 | 20 6d 6f 64 69 66 69 65 |.....// | modifie|
|00000720| 72 20 74 72 61 63 6b 20 | 74 79 70 65 20 28 27 76 |r track |type ('v|
|00000730| 69 64 65 27 29 0d 09 09 | 09 6d 79 49 6e 70 75 74 |ide')...|.myInput|
|00000740| 54 79 70 65 20 3d 20 45 | 6e 64 69 61 6e 55 33 32 |Type = E|ndianU32|
|00000750| 5f 4e 74 6f 42 28 6b 54 | 72 61 63 6b 4d 6f 64 69 |_NtoB(kT|rackModi|
|00000760| 66 69 65 72 54 79 70 65 | 49 6d 61 67 65 29 3b 0d |fierType|Image);.|
|00000770| 09 09 09 51 54 49 6e 73 | 65 72 74 43 68 69 6c 64 |...QTIns|ertChild|
|00000780| 28 6d 79 49 6e 70 75 74 | 4d 61 70 2c 20 6d 79 49 |(myInput|Map, myI|
|00000790| 6e 70 75 74 41 74 6f 6d | 2c 20 6b 54 72 61 63 6b |nputAtom|, kTrack|
|000007a0| 4d 6f 64 69 66 69 65 72 | 54 79 70 65 2c 20 31 2c |Modifier|Type, 1,|
|000007b0| 20 30 2c 20 73 69 7a 65 | 6f 66 28 6d 79 49 6e 70 | 0, size|of(myInp|
|000007c0| 75 74 54 79 70 65 29 2c | 20 26 6d 79 49 6e 70 75 |utType),| &myInpu|
|000007d0| 74 54 79 70 65 2c 20 4e | 55 4c 4c 29 3b 0d 09 0d |tType, N|ULL);...|
|000007e0| 09 09 09 2f 2f 20 73 6f | 75 72 63 65 20 6e 61 6d |...// so|urce nam|
|000007f0| 65 20 66 6f 72 20 73 65 | 63 6f 6e 64 20 73 6f 75 |e for se|cond sou|
|00000800| 72 63 65 20 2d 20 74 68 | 65 72 65 20 69 73 20 61 |rce - th|ere is a|
|00000810| 20 63 6f 72 72 65 73 70 | 6f 6e 64 69 6e 67 0d 09 | corresp|onding..|
|00000820| 09 09 2f 2f 20 6b 45 66 | 66 65 63 74 53 6f 75 72 |..// kEf|fectSour|
|00000830| 63 65 4e 61 6d 65 20 61 | 74 6f 6d 20 69 6e 20 74 |ceName a|tom in t|
|00000840| 68 65 20 65 66 66 65 63 | 74 20 64 65 73 63 72 69 |he effec|t descri|
|00000850| 70 74 69 6f 6e 20 74 6f | 0d 09 09 09 2f 2f 20 69 |ption to|....// i|
|00000860| 64 65 6e 74 69 66 79 20 | 74 68 65 20 73 6f 75 72 |dentify |the sour|
|00000870| 63 65 0d 09 09 09 6d 79 | 4c 6f 6e 67 20 3d 20 45 |ce....my|Long = E|
|00000880| 6e 64 69 61 6e 55 33 32 | 5f 4e 74 6f 42 28 6b 53 |ndianU32|_NtoB(kS|
|00000890| 6f 75 72 63 65 54 77 6f | 4e 61 6d 65 29 3b 0d 09 |ourceTwo|Name);..|
|000008a0| 09 09 51 54 49 6e 73 65 | 72 74 43 68 69 6c 64 28 |..QTInse|rtChild(|
|000008b0| 6d 79 49 6e 70 75 74 4d | 61 70 2c 20 6d 79 49 6e |myInputM|ap, myIn|
|000008c0| 70 75 74 41 74 6f 6d 2c | 20 6b 45 66 66 65 63 74 |putAtom,| kEffect|
|000008d0| 44 61 74 61 53 6f 75 72 | 63 65 54 79 70 65 2c 20 |DataSour|ceType, |
|000008e0| 31 2c 20 30 2c 20 73 69 | 7a 65 6f 66 28 6d 79 4c |1, 0, si|zeof(myL|
|000008f0| 6f 6e 67 29 2c 20 26 6d | 79 4c 6f 6e 67 2c 20 4e |ong), &m|yLong, N|
|00000900| 55 4c 4c 29 3b 0d 09 09 | 7d 0d 00 00 00 20 00 00 |ULL);...|}.... ..|
|00000910| 00 01 00 00 00 04 00 00 | 00 00 00 00 00 01 54 45 |........|......TE|
|00000920| 58 54 00 00 01 00 00 00 | 00 00 00 00 00 00 00 00 |XT......|........|
|00000930| 01 00 00 00 08 ae 00 00 | 07 ae 00 00 00 46 07 ac |........|.....F..|
|00000940| 60 30 2e 46 00 00 00 1c | 00 46 00 01 54 45 58 54 |`0.F....|.F..TEXT|
|00000950| 00 00 00 12 64 72 61 67 | 00 00 00 1e 01 00 ff ff |....drag|........|
|00000960| 00 00 00 00 00 00 2d 8c | 00 80 ff ff 00 00 07 8a |......-.|........|
|00000970| 00 00 2d 94 00 00 00 00 | 00 00 00 00 00 00 00 00 |..-.....|........|
+--------+-------------------------+-------------------------+--------+--------+